import easyocr

# 设置识别中英文两种语言
reader = easyocr.Reader(['ch_sim', 'en'], gpu=False)  # need to run only once to load model into memory
result = reader.readtext(r"test.jpg", detail=0)
print(result)
